package com.micro.modual.mapper;


import com.micro.core.frame.mapper.BasicsMapper;
import com.micro.modual.entity.MessageModule;
import org.apache.ibatis.annotations.Param;

/**
*  <h1></h1>
 * @author levelcoder
 * @version V1.0.0
 * @email LevelCoder@126.com
 * @date 2020-08-04 00:11:10
 */
public interface MessageModuleMapper extends BasicsMapper<MessageModule>{


    /**
     * <h2>根据模块名称校验是否存在</h2>
     * @param moduleName
     * @return
     */
    int findMoudalNameExist(@Param("moduleName") String moduleName);

    /**
     * <h2>根据模块编号校验是否存在</h2>
     * @param moduleCode
     * @return
     */
    int findModualCodeExist(@Param("moduleCode") String moduleCode);
}
